package enumerated;

public enum SpaceShip {
    SCOUT,CARGO,TRANSPORT,CRUISER,BATTLESHIP,MOTHERSHIPP;


    @Override
    public String toString() {
        String id = name();
        String lower = id.substring(1).toLowerCase();;
        return id.charAt(0)+lower;
    }

    public static void main(String[] args){
        for (SpaceShip s : values()){
            System.out.println(s);
        }
    }
}
